// $color-text-base: #09f;
.partitionSetting {
  // background-color: #fff;
  // padding-bottom: 88px;
  // min-height: calc(100vh - 88px);
  min-height: 100vh;
  font-size: 24px;
  display: flex;
  flex-direction: column;

  .header-top {
    position: sticky;
    top: 0;
  }

  .header {
    padding-bottom: 5px;
    flex: 1;
    // border-bottom: 1px solid #d9d9d9;

    .select_type {
      // margin: 30px 0;
      // border-bottom: 20px solid #F5F5F5;
      border-top: 20px solid #F5F5F5;

      .kind_one {
        flex: 1;
        height: 98px;
        text-align: start;
        line-height: 98px;
        // margin: 0 30px;
        // padding: 0 30px;
        font-size: 30px;
        border-bottom: 1px dashed #e5e5e5;
        border-bottom: 1px solid rgba($color: #e5e5e5, $alpha: 0.6);
        padding-left: 24px;

        // &:last-child {
        //   border: 0;
        // }

        .delete {
          width: 120px;
          color: #ffffff;
          background-color: rgba($color: red, $alpha: 0.75);
          // border-radius: 0px 12px 12px 0px;
          height: auto;
        }

        .edit {
          width: 120px;
          color: #ffffff;
          background-color: rgba($color: #0099ff, $alpha: 0.85);
          // border-radius: 12px 0 0 12px;
          height: auto;
        }

        &:first-child {
          border-bottom: 1px dashed #e5e5e5;
        }
      }

      .type-add {
        color: #09f;
        font-size: 28px;
        position: absolute;
        top: 16px;
        right: 110px;
      }

      .type-add-shu {
        color: rgba($color: #999999, $alpha: 0.5);
        font-size: 28px;
        position: absolute;
        top: 16px;
        right: 80px;
      }
    }

    .line {
      margin: 0 30px;
      border-bottom: 1px solid #d9d9d9;
    }

    .cover_img {
      width: 100%;
      height: 100px;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      border-bottom: #7c7c7c 1px;

      &.click-class:active {
        opacity: 0.8;
      }

      .title {
        margin-left: 55px;
        margin-right: auto;
        height: 32px;
        font-family: PingFang-SC-Regular;
        font-size: 32px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 32px;
        letter-spacing: 0px;
        color: #000000;
      }

      .right {
        margin-right: 34px;
        margin-left: auto;
        text-align: right;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;

        .coverImg {
          width: 92px;
          height: 56px;
          background-size: auto 100%;
          background-position: center;
          background-repeat: no-repeat;
        }

        .icon {
          height: 32px;

          &::before {
            height: 32px;
            margin-left: 10px;
            text-align: right;
            font-size: 26px;
            line-height: 33px;
            color: #ccc;
          }
        }
      }
    }

    .publish-edu {
      width: 100%;
      height: 120px;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      border-bottom: #7c7c7c 1px;

      &.click-class:active {
        opacity: 0.8;
      }

      .title {
        margin-left: 35px;
        margin-right: auto;
        margin-bottom: 20px;
        height: 32px;
        font-family: PingFang-SC-Regular;
        font-size: 32px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 32px;
        letter-spacing: 0px;
        color: #000000;

        .title-tip {
          margin-left: 10px;
          color: #999999;
          font-size: 12px;
          padding: 0 10px;
        }
      }

      .right {
        margin-right: 34px;
        margin-left: auto;
        text-align: right;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    .upload {
      width: calc(100%-60px);
      margin: 8px 30px;

      .upload_file {
        width: 70px;
        height: 70px;
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
      }

      .upload_img {
        float: left;
        margin-right: 15px;
        background-image: url(../images/图片上传.png);
      }

      .upload_files {
        display: inline-block;
        background-image: url(../images/文件上传.png);
      }
    }

    .newsInfo {
      text-align: left;
      color: #989898;
      margin-top: 30px;

      span {
        margin-left: 20px;
      }
    }
  }

  .content {
    margin: 0 30px;
    // padding-top: 35px;
    font-size: 30px;
    word-break: break-all;

    img,
    video {
      display: block;
      max-width: 80vw;
    }
  }

  .attachment {

    // margin-top: 40px;
    .imgBox {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;

      .imgItem {
        position: relative;
        width: 120px;
        height: 120px;
        margin-left: 20px;
        margin-bottom: 24px;

        &:first-child {
          margin-left: 30px;
        }

        .imgSrc {
          display: block;
          width: 120px;
          height: 120px;
          border-radius: 5px;
          background-size: auto 100%;
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
        }

        .deletelogo {
          position: absolute;
          top: -5px;
          right: -5px;
          width: 30px;
          height: 30px;
          background-image: url(../images/图片移除.png);
          background-image: url(../images/附件-移除.png);
          background-size: 100% 100%;
          background-size: cover;
        }
      }
    }

    .fileBox {
      padding-bottom: 80px;

      .docItem {
        width: calc(100% - 60px);
        height: 98px;
        margin: 0 auto;
        margin-bottom: 24px;
        background-color: #fafafa;
        border-radius: 4px;
        border: solid 1px #e5e5e5;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;

        .docIcon {
          width: 50px;
          height: 56px;
          margin-left: 20px;
          margin-top: 20px;
          margin-right: 10px;

          .docImg {
            width: 50px;
            height: 56px;
          }
        }

        .docInfo {
          height: 56px;
          margin-top: 14px;

          .docName {
            font-size: 26px;
            width: 500px;
          }

          .docSize {
            font-size: 20px;
            color: #999999;
          }
        }

        .deletelogo {
          width: 44px !important;
          height: 44px !important;
          // background: url(../images/图片移除.png) no-repeat;
          background: url(../images/附件-移除.png) no-repeat;
          background-size: 44px 44px;
          border-radius: 50%;
          margin-top: 25px;
          text-align: center;
          margin-left: auto;
          margin-right: 30px;
        }

        .preViewFile {
          height: 98px;
          width: 104px;
          text-align: center;
          line-height: 98px;
          color: #0066ff;
          font-size: 24px;
        }

        // .deletelogo {
        //   position: absolute;
        //   top: -5px;
        //   right: -5px;
        //   width: 30px;
        //   height: 30px;
        //   background-image: url(../images/图片移除.png);
        //   background-size: 100% 100%;
        // }
      }
    }
  }

  .index_footer {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    // margin-top: 100px;
    width: 100%;
    height: 198px;
    border-top: 1px solid #f0f0f0;
    padding: 32px 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    border-top: 20px solid #F5F5F5;

    .send_btn {
      width: 85vw !important;
      font-size: 36px;
      box-sizing: border-box;
      display: block;
      margin: 0 auto;
    }
  }
}

.must-fill {
  color: red;
  // margin-left: 10px;
}

.rich-text-title {
  margin-left: 35px;
  font-size: 32px;
  color: #333333;
  margin-top: 10px;
}

.w-e-hover-bar {
  max-width: calc(100% - 2px) !important;
}

.w-e-text-placeholder {
  font-style: inherit !important;
}


.adm-list-default .adm-list-body {
  border-top: 0;
  border-bottom: 0;
}

.line2 {
  border-bottom: 20px solid #F5F5F5;
}

.table_title {
  margin-left: 30px;
  margin-top: 30px;
  font-size: 28px;
  font-family: '.PingFang SC';
  color: rgb(153, 153, 153);
}

.table_box {
  margin-top: 20px;
  width: 100vw;

  .table_header {
    width: 92%;
    height: 64px;
    margin-left: 30px;
    background-color: #f7f7f7;
    display: flex;
    color: #999999;

    .time {
      width: 180px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .arrange {
      flex: 1;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-left: 1px solid #ffffff;
      border-right: 1px solid #ffffff;
    }

    .operation {
      width: 120px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .table_list {
    width: 92%;
    overflow-y: auto;
    margin-left: 30px;

    .table_item {
      display: flex;
      font-size: 28px;

      .table_item_time {
        width: 180px;
        min-height: 88px;
        display: flex;
        align-items: center;
        // justify-content: center;
        padding-left: 18px;
        border-left: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        border-right: 1px solid #e5e5e5;
        font-family: '.PingFang SC';
      }

      .table_item_arrange {
        flex: 1;
        min-height: 88px;
        display: flex;
        flex-direction: column;

        .arrange_item {
          width: 100%;
          display: flex;
          align-items: center;
          height: 88px;
          font-family: '.PingFang SC';
          border-bottom: 1px solid #e5e5e5;

          .department {
            height: 33px;
            margin-left: 18px;
            margin-right: 8px;
            background-color: rgba($color: #ff6600, $alpha: 0.1);
            padding: 4px 12px;
            font-size: 24px;
            color: rgb(255, 102, 0);
            border-radius: 5px;
          }
        }
      }

      .table_item_operation {
        color: #0099ff;
        width: 120px;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        border-right: 1px solid #e5e5e5;
        font-family: '.PingFang SC';
      }

      .table_item_operation_delete {
        color: #f49696;
        width: 120px;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        border-right: 1px solid #e5e5e5;
        font-family: '.PingFang SC';
      }
    }
  }
}

.edit_popup {
  .edit_time {
    margin-top: 12px;
    margin-left: 30px;
    color: rgb(5, 5, 5);
    font-size: 32px;
    font-family: '.PingFang SC';
    font-weight: 700;

    span {
      color: rgb(153, 153, 153);
      font-weight: 500;
      margin-left: 6px;
    }
  }

  .line {
    height: 1px;
    background-color: #d9d9d9;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .arrange_num {
    margin-left: 30px;
    font-size: 28px;
    color: rgb(153, 153, 153);

    span {
      color: rgb(51, 51, 51);
    }
  }

  .add_arrange {
    width: 92%;
    height: 88px;
    margin-left: 30px;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;

    .add_btn {
      font-family: '.PingFang SC';
      font-size: 28px;
      color: rgb(0, 153, 255);
      line-height: 88px;
      margin-left: 12px;

      .myTable_addCase_icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        background: url(../images/添加.svg) no-repeat center / 100% 100%;
        margin-right: 3px;
      }

    }
  }
}

.select_arrange_item {
  height: 80px;
  line-height: 80px;
  font-size: 28px;
  margin-left: 12px;
}

.editBtn {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 3vh;
}

.empty {
  width: 240px;
  height: 240px;
  margin: 160px auto;

  .empty_img {
    background: url(../images/占位图.png) no-repeat center / 100% 100%;
    width: 240px;
    height: 240px;
  }

  .empty_text {
    font-size: 28px;
    color: #999999;
    margin-top: 12px;
    text-align: center;
  }
}

.setting_list {
  margin-top: 20px;
  width: 100vw;

  .setting_item {
    width: 100%;
    height: 98px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 32px;
    font-family: ".PingFang SC";
    color: #333333;
    // padding: 0 20px;
    padding-left: 40px;
    border-bottom: 1px solid #e5e5e5;

    .setting_btn {
      display: flex;
      padding-right: 80px;
      
      .setting_edit {
        width: 64px;
        height: 36px;
        background: url(../images/编辑.svg) no-repeat;
        background-size: 32px 32px;
        background-position: right center;
      }
      .setting_delete {
        width: 64px;
        height: 36px;
        background: url(../images/删除.svg) no-repeat;
        background-size: 32px 32px;
        background-position: right center;
      }
    }
  }
  .setting_item:last-of-type {
    border-bottom: 0px solid #e5e5e5;
  }
}

.edit_area {
  .edit_title {
    font-size: 32px;
    font-weight: 600;
    font-family: ".PingFang SC";
    margin-top: 12px;
    margin-left: 20px;
  }
  .line {
    width: 100vw;
    background-color: rgba($color: #d9d9d9, $alpha: 0.55);
    height: 1px;
    margin-top: 20px;
  }
  .ok_btn {
    width: 320px;
    height: 80px;
    border-radius: 8px;
    background-color: #0099ff;
    color: #fff;
    text-align: center;
    font-size: 36px;
    line-height: 80px;
    margin: 0 auto;
  }
}

.empty {
  margin: 0 auto;
  margin-top: 50%;
}

.search_input {
  width: calc(100% - 110px);
  height: 100%;
  font-size: 32px;
  line-height: 32px;

  &> *{
    height: 100%;
    line-height: 62px;
    vertical-align: middle;
  }
}